// Copyright (c) .NET Foundation and Contributors (https://dotnetfoundation.org/ & https://stride3d.net) and Silicon Studio Corp. (https://www.siliconstudio.co.jp)
// Distributed under the MIT license. See the LICENSE.md file in the project root for more information.

namespace Stride.Core.Reflection;

/// <summary>
/// A category used by <see cref="ITypeDescriptorBase"/>.
/// </summary>
public enum DescriptorCategory
{
    /// <summary>
    /// A primitive.
    /// </summary>
    Primitive,

    /// <summary>
    /// A collection.
    /// </summary>
    Collection,

    /// <summary>
    /// An array
    /// </summary>
    Array,

    /// <summary>
    /// A list
    /// </summary>
    List,

    /// <summary>
    /// A dictionary
    /// </summary>
    Dictionary,

    /// <summary>
    /// A set
    /// </summary>
    Set,

    /// <summary>
    /// An object
    /// </summary>
    Object,

    /// <summary>
    /// An unsupported object. This will be treated the same as Object.
    /// </summary>
    NotSupportedObject,

    /// <summary>
    /// A nullable value
    /// </summary>
    Nullable,

    /// <summary>
    /// A custom descriptor.
    /// </summary>
    Custom
}
